#ifndef IOCONFIG_H
#define IOCONFIG_H
// HYS 
#define HYS_0_Hysteresis_Disabled              (0UL << 16)
#define HYS_0_Hysteresis_Enable                (1UL << 16)
// 上下拉
#define  PUS_0_100K_Ohm_Pull_Down              (0b00UL << 14)
#define  PUS_1_47K_Ohm_Pull_Up                 (0b01UL << 14)
#define  PUS_2_100K_Ohm_Pull_Up                (0b10UL << 14)
#define  PUS_3_22K_Ohm_Pull_Up                 (0b11UL << 14)
// keep / pull
#define  PUE_0_Keeper                          (0b0UL << 13)
#define  PUE_1_Pull                            (0b1UL << 13)
// keep/pull enable
#define  PKE_0_Pull_Keeper_Disabled            (0b0UL << 12)
#define  PKE_1_Pull_Keeper_Enabled             (0b1UL << 12)
// 开路输出功能
#define  ODE_0_Open_Drain_Disabled             (0b0UL << 11)
#define  ODE_1_Open_Drain_Enable               (0b1UL << 11)
// 速度
#define  SPEED_0_low_50MHz                     (0b00UL << 6)
#define  SPEED_1_medium_100MHz                 (0b01UL << 6)
#define  SPEED_2_medium_100MHz                 (0b10UL << 6)
#define  SPEED_3_max_200MHz                    (0b11UL << 6)
// 驱动力
#define  DSE_0_output_driver_disabled         (0b000UL << 3)
#define  DSE_1_R0_1                           (0b001UL << 3) 
#define  DSE_2_R0_2                           (0b010UL << 3) 
#define  DSE_3_R0_3                           (0b011UL << 3) 
#define  DSE_4_R0_4                           (0b100UL << 3) 
#define  DSE_5_R0_5                           (0b101UL << 3) 
#define  DSE_6_R0_6                           (0b110UL << 3) 
#define  DSE_7_R0_7                           (0b111UL << 3) 
// 低转率
#define  SRE_0_Slow_Slew_Rate                 (0b0UL << 3) 
#define  SRE_1_Fast_Slew_Rate                 (0b1UL << 3) 

#endif// IOCONFIG_H

